package com.ccys.cms.service.administrator;


import com.ccys.common.vo.ResponseResult;
import com.ccys.db.dto.administrator.TblDeliveryCountryLocationDTO;
import com.ccys.db.entity.TblDeliveryCountryLocation;
import com.ccys.db.rely.service.BaseService;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * location-based 的delivery times lots管理
 */
public interface TblDeliveryCountryLocationWebService extends BaseService<TblDeliveryCountryLocation> {


    /**
     * 查询列表
     *
     * @param request
     * @param response
     * @param dto
     * @return
     */
    public ResponseResult listObjectsCms(HttpServletRequest request, HttpServletResponse response, TblDeliveryCountryLocationDTO dto);

    /**
     * 添加修改
     *
     * @param request
     * @param response
     * @param entity
     * @return
     */
    public ResponseResult change(HttpServletRequest request, HttpServletResponse response, TblDeliveryCountryLocation entity);

    /**
     * 删除
     *
     * @param request
     * @param response
     * @return
     */
    public ResponseResult delete(HttpServletRequest request, HttpServletResponse response, TblDeliveryCountryLocation dto);


       /**
        * @description 查询 tbl_delivery_country_location 城市数据；列表
        * @date     2023/12/14
        * @author   cloud fly
        */
    ResponseResult listCity(HttpServletRequest request, HttpServletResponse response, TblDeliveryCountryLocationDTO dto);

       /**
        * @description 获取快递的下拉district数据列表
        * @date     2023/12/14
        * @author   cloud fly
        */
    ResponseResult listDistrict(HttpServletRequest request, HttpServletResponse response, TblDeliveryCountryLocationDTO dto);

       /**
        * @description 获取快递的下拉OtherDivision数据列表
        * @date     2023/12/14
        * @author   cloud fly
        */
    ResponseResult listOtherDivision(HttpServletRequest request, HttpServletResponse response, TblDeliveryCountryLocationDTO dto);
}